package com.smedi.ismedi.inmail.api.dto.response.safetyBoard;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @auther Cookie
 * @date 2022/8/23
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DangerSourcePaginationData implements Serializable {

    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页")
    private long current;

    /**
     * 总页数
     */
    @ApiModelProperty(value = "总页数")
    private long pages;

    /**
     * 当页行数
     */
    @ApiModelProperty(value = "当页行数")
    private long size;

    /**
     * 总记录数
     */
    @ApiModelProperty(value = "总记录数")
    private BigDecimal total;

    /**
     * 数据
     */
    @ApiModelProperty(value = "数据")
    private List<DangerSourceResponse> records;
}
